package com.fa4j.system.notice.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fa4j.common.data.model.Base;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 系统通知
 *
 * @since 2025-07-01 08:47:55
 */
@Data
@TableName(value = "t_sys_notice", autoResultMap = true)
@Schema(description = "系统通知")
public class Notice extends Base {

    @Schema(description = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "账号ID")
    private Long accountId;

    @Schema(description = "消息标题")
    private String title;

    @Schema(description = "消息内容")
    private String content;

    @Schema(description = "跳转路径")
    private String link;

    @Schema(description = "通知状态")
    private NoticeState state;

    @Schema(description = "操作人ID")
    private Long operatorId;


}
